package com.javaee.service.admin;

import com.javaee.entity.Department;

import java.util.List;

public interface DepartmentService {
     void save(Department department);
     void deleteById(Integer id);
     void update(Department department);
     Department findById(Integer id);
     List<Department> findAll(int pageNum, int pageSize);
     List<Department> findByName(String dName);

    int selectCount();
}
